package com.atu.websocket.bean;

import lombok.Data;

/**
 * @author: atu
 * @date: Create in 2021/7/13 11:16
 * @Description:
 */
public class Message {
    private int type;
    private Long fromId;
    private Long toId;
    private Candidate candidate;
    private Desc desc;
    private int capturer;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public Candidate getCandidate() {
        return candidate;
    }

    public void setCandidate(Candidate candidate) {
        this.candidate = candidate;
    }

    public Desc getDesc() {
        return desc;
    }

    public void setDesc(Desc desc) {
        this.desc = desc;
    }

    public int getCapturer() {
        return capturer;
    }

    public void setCapturer(int capturer) {
        this.capturer = capturer;
    }
}
